package parser;

import codeGeneration.PostScriptCodeGenerator;

/**
 * The base parser-class for implementing parsing of Logo Grammar. Inherits from
 * PostScriptCodeGenerator for the generatePostScriptCode function.
 */
public abstract class LogoGrammar extends PostScriptCodeGenerator {
	/**
	 * Used so that all bits of the code can check that use of identifiers is
	 * correct
	 * 
	 * @param LogoScope - holds all identifiers present in the current Scope
	 * @throws LogoParseException if there is invalid use of identifiers
	 */
	public abstract void resolveIdentifiers(LogoScope scope)
			throws LogoParseException;
}
